package com.aifund.app.listener;

import org.springframework.data.redis.connection.Message;
import org.springframework.data.redis.connection.MessageListener;

public class CurrencyMarketListener implements MessageListener {
    @Override
    public void onMessage(Message message, byte[] bytes) {
        String redisMsg = message.toString();
        System.out.println("收到redis消息:"+redisMsg);
    }
}
